home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
graphics
/
pbm
/
pbm_man.zoo
/
man1
/
pnmdepth.1
< prev
next >
Wrap
Text File
|
1994-08-27
|
816b
|
67 lines
pnmdepth(1) USER COMMANDS pnmdepth(1)
NAME
pnmdepth - change the maxval in a portable anymap
SYNOPSIS
pnmdepth _✓n_✓e_✓w_✓m_✓a_✓x_✓v_✓a_✓l [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
DESCRIPTION
Reads a portable anymap as input. Scales all the pixel
values, and writes out the image with the new maxval. Scal-
ing the colors down to a smaller maxval will result in some
loss of information.
Be careful of off-by-one errors when choosing the new max-
val. For instance, if you want the color values to be five
bits wide, use a maxval of 31, not 32.
SEE ALSO
pnm(5), ppmquant(1)
AUTHOR
Copyright (C) 1989, 1991 by Jef Poskanzer.
Sun Release 4.0 Last change: 12 January 1991 1